home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / threed.arc / THREED.DOC < prev    next >
Text File  |  1986-03-28  |  2KB  |  29 lines

  1. THREEDS.F77 contains routines to generate a 3-D image from a function of
  2. two parameters.  The function's values in the range of interest are given
  3. as an array of floating-point numbers.  The routines will plot a net formed
  4. by connecting adjacent points.  The net's orientation can be specified using
  5. two angles.  One angle defines rotation in a plane tangential to the earth's
  6. surface (like an ice skater in a spin).  The other angle defines how much the
  7. surface is to be tilted toward the viewer.  Parts of the surface that are
  8. hidden are not plotted (i.e. these routines DO implement hidden-line
  9. suppression).
  10.  
  11. The routines were obtained from a graduate student in chemistry named Hoskins
  12. while I was at the University of North Carolina in 1969-1973 (I have
  13. forgotten his first name).  I have only recently aquired the hardware
  14. necessary for the program to operate in a reasonable length of time.
  15. Still, it takes about 15 minutes to draw a 64 by 64 array using a 6Mhz 80286
  16. and a 5Mhz 80287.  I would like to eventually convert this code to C and
  17. try to find some way to use fixed-point arithmetic.  At that point it
  18. probably will run satisfactorily on a non-x87 equipped machine (of course
  19. a VAX 750 can plot the same 64 x 64 array in 5 minutes but that's of
  20. little help to most people).
  21.  
  22. I provided two main-line programs (SADDLE.F77 and COSX.F77) to illustrate
  23. the use of THREEDS.F77 by example.  Only link one or the other to THREEDS.F77
  24. to generate an executable.  Feedback is welcome.  I regularly call into
  25. the Astronomer's RBBS at 305-268-8576.  I also periodically call into
  26. FARGO RBBS at 701-293-5973 (about every 6-7 weeks).
  27.  
  28. 28-Mar-86   Greg Doty
  29.